{% extends 'base.html' %}

{% block title_suffix %}
 | New question difficulty
{% endblock %}

{% block all_content %}
    <div class="page-header">
        <h1>Create difficulty <small>Create a new difficulty</small></h1>
    </div>
    <p class="lead">
        Descriptive text. This text describes how to work the create question.
    </p>
    <form action="." method="post">
        <fieldset>
            <legend>Create new difficulty</legend>

            {% csrf_token %}
            <input name="difficulty" type="text" 
                        placeholder="Difficulty" required />

            <div class="form-actions">
                <div class="pull-right">
                    <a class="btn" href="{% url 'question.views.index_difficulties' %}">Cancel</a>
                    <button type="submit" class="btn btn-primary">
                        Add difficulty
                    </button>
                </div>
            </div>
        </fieldset>
    </form>
{% endblock %}
